package com.hhkj.study.admin.teacher.service.biz;

import com.hhkj.study.admin.teacher.entity.Teacher;
import com.hhkj.study.admin.teacher.model.req.TeacherReq;
import com.hhkj.study.admin.teacher.model.res.TeacherRes;
import com.hhkj.study.common.model.res.ExcelImportResultRes;
import com.ruoyi.common.base.biz.service.biz.BaseBizService;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
* TeacherBizService
*
* @author SERVER
* @since 2024-09-06
*/
public interface TeacherBizService extends BaseBizService<Teacher, TeacherReq, TeacherRes> {
    /**
     * 文件导出
     * @param req
     * @param response
     */
    void export(TeacherReq req, HttpServletResponse response);

    /**
     * 导入
     * @param file
     * @param request
     * @return
     */
    ExcelImportResultRes importTeacher(MultipartFile file, HttpServletRequest request);
}